{template 'common/header'}
<div class="panel panel-default">
    <div class="panel-heading">
        编辑
    </div>
    <div class="panel-body">
        <form action="" method="post"  class="form-horizontal" enctype="multipart/form-data">
        <input type="hidden" name="id" value="{$class['id']}" />
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">标题</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="text" name="title"  value="{$class['title']}" class="form-control"/>
                    <span class="help-block"></span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">显示播放次数</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="text" name="listen_num"  value="{$class['listen_num']}" class="form-control"/>
                    <span class="help-block"></span>
                </div>
            </div>
                        <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">显示播放时长</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="text" name="timelong"  value="{$class['timelong']}" class="form-control"/>
                    <span class="help-block"></span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">显示收藏次数</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="text" name="collect"  value="{$class['collect']}" class="form-control"/>
                    <span class="help-block"></span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">显示时间</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                  	{php echo tpl_form_field_date('create_time', $class['create_time'], true)}
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">显示图像</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    {php echo tpl_form_field_image('img', $class['img'])}
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">语音内容</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    {php echo tpl_form_field_audio('voice_id',$class['voice_id'])}
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-12">
                    <input name="submit" type="submit" value="提交" class="btn btn-primary col-lg-1">
                </div>
            </div>
        </form>
    </div>
    
</div>





{template 'common/footer'}